﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace DoAnQuamLy.DataAccess
{
    class PhieuThuData
    {
        sqlDataProvider sdp = new sqlDataProvider();
        public DataTable Phieuthu()
        {
            SqlCommand cmd = new SqlCommand("Select Sophieuthu, Ngay, Loaiphieuthu, Lidothu, Chungtugoc, Nguoinoptien, Diachi, Sotien, Ghichu from Phieuthutien");
            sdp.Load(cmd);
            return sdp;
        }
        public void Update()
        {
            sdp.Update();
        }

        internal object Phieuchi()
        {
            throw new NotImplementedException();
        }
    }
}
